#include "CVObject.h"

#pragma once
#ifndef CCONSTRAINT_H_
#define CCONSTRAINT_H_

class CConstraint{
private:
	CVObject* m_pObjA;
	CVObject* m_pObjB;
	float m_distance;
public:
	CConstraint(CVObject* objA, CVObject* objB);
	CConstraint(CVObject* objA, CVObject* objB, float distance);
	~CConstraint();
	void Satisfy();
};

#endif